package com.shy.springframework.context;


import com.shy.springframework.beans.BeansException;
import com.shy.springframework.beans.factory.Aware;

public interface ApplicationContextAware extends Aware {
    /**
     * 实现改接口,既能感知所属的ApplicationContext
     * @param applicationContext
     * @throws BeansException
     */
    void setApplicationContext(ApplicationContext applicationContext) throws BeansException;
}
